package com.michale.system.vo.user;

import com.michale.common.domain.permissions.RoleEntity;
import com.michale.common.domain.permissions.UserEntity;
import com.michale.common.domain.system.PostEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Author Michale
 * @apiNote 用户详情
 */
@Data
@ApiModel(value = "用户详情")
public class UserInfoVo {

    @ApiModelProperty("用户信息")
    private UserEntity user;

    @ApiModelProperty("角色ID")
    private List<Long> roleIds;

    @ApiModelProperty("岗位ID")
    private List<Long> postIds;

    @ApiModelProperty("角色列表")
    private List<RoleEntity> roleList;

    @ApiModelProperty("岗位列表")
    private List<PostEntity> postList;
}
